package com.cqfan.cloud.office.console;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
/**
 * @author JiaLing.Fan
 * @version 1.0
 * @date 2024-05-12 8:52
 * @description OfficeApplicaiton
 */

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        MongoAutoConfiguration.class,
        MongoDataAutoConfiguration.class,
})
@ForestScan(basePackages = "com.cqfan.cloud")
@ComponentScan(basePackages = {  "com.cqfan.cloud.*"})
public class OfficeApplicaiton   {
    public static void main(String[] args) {
        SpringApplication.run(OfficeApplicaiton.class , args);
    }


}
